import App from './App'
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false

import nav from "@/utils/track/navRoute.js";
Vue.prototype.$navTo = nav;

import share from '@/utils/share.js'
Vue.mixin(share)

App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

import Mta from "./utils/track/myMta.js";

function Init(e) {
	this.myMta = (...ev) => {
		Mta.myMta(...ev)
	}
}

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif